package me.yobol.greentable.dao;

import java.sql.Connection;
import java.sql.SQLException;

import me.yobol.greentable.bean.CustomerBean;

/**
 * @author Yobol
 *
 */
public interface ICustomerDAO {
	public int save(Connection ctn, CustomerBean customer) throws SQLException;
	
	public CustomerBean delete(Connection ctn, int userId) throws SQLException;
	
	public CustomerBean get(Connection ctn, int customerId) throws SQLException;
	public CustomerBean getByUserId(Connection ctn, int userId) throws SQLException;
}
